import axios from "axios";

const getDetailedListById = (id:number)=>{
    return new Promise((resolve, reject) => {
        axios.get("/api/detailed-task/selectTaskByCrowd",{
            params:{
                crowdId:id,
            }
        }).then((response)=>{
            resolve(response.data);
        })
    })
}

export default getDetailedListById;